home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Snippets / Platforms & Tools / MacApp / AEGestalt 1.0b3 / ResourceConstants.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-11  |  1.3 KB  |  48 lines  |  [TEXT/MPS ]

  1. //     ResourceConstants.h file
  2. //     Copyright © 1991 by Apple Computer, Inc.  All rights reserved. 
  3. //    Kent Sandvik DTS
  4. //    This file contains resource types which are needed in both the
  5. //    source code and the resource files. 
  6.  
  7.  
  8. #ifndef __RESOURCECONSTANTS__
  9. #define __RESOURCECONSTANTS__
  10.  
  11. //    Signature and Type
  12. #define kSignature                'FOOB'            // application signature
  13. #define kFileType                'FOOD'            // file type code used for document files created by this application
  14. #define kStationery                'fOOD'            // Stationery file type 
  15.  
  16.  
  17. //    Bundle Constants
  18. #define kBundleID                128
  19. #define kApplicationID            128
  20. #define kDocumentID                129
  21. #define kStationeryID            130
  22.  
  23.  
  24. //     Menus and command
  25. #define mExamine                10
  26. #define    cFindAEGestalt            1001            // also command number
  27. #define cCreateReport            1002            // also command number
  28.  
  29. #define cAEProvideGestaltInfo    1003            // AE Server command number
  30.  
  31.  
  32. //    Views
  33. #define kMainWindow                1002            // the main document window
  34.  
  35. #define kHorizontalOffset         20                //    Common view placement constants
  36. #define kVerticalOffset            20
  37. #define kHorizontStart            28
  38. #define kVerticalStart            15
  39.  
  40.  
  41. // AppleEvents
  42. #define    kGestaltAEEvents        1201            // 'aedt' resource constant
  43. #define kMacAppClass            'maca'            // AE class
  44. #define kAEGetConfig            'mgtc'            // AE command
  45. #define kAEConfig                'conf'            // AE descriptor
  46. #define typeConfig                'tcnf'            // AE descriptor type
  47.  
  48. #endif